﻿package lu.kyle {
	public final class IntList {
		public var data:int;
		public var next:IntList;
		public function IntList(dt:int, nx:IntList) {
			data = dt;
			next = nx;
		}
		public static function create(src:Array):IntList {
			var itm:IntList = null;
			var i:int = src.length;
			while (--i > -1) {
				itm = new IntList(src[i], itm);
			}
			return itm;
		}
	}
}
